<html>
<head><meta charset="utf-8"><title>Debug symbols · t-compiler/help · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/index.html">t-compiler/help</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html">Debug symbols</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="226643476"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226643476" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226643476">(Feb 17 2021 at 11:28)</a>:</h4>
<p>I'm currently building a local stage 1 compiler (on Windows MSVC) and would like to do some performance analysis which would be aided by having debug symbols. I have <code>debug=true</code> and <code>profile=compiler</code> set in my config.toml and nothing concerning debug-info overriden. However, I don't see any PDB files being generated in the build directory. Where can I find debug symbols?</p>



<a name="226648751"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226648751" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226648751">(Feb 17 2021 at 12:26)</a>:</h4>
<p>That's curious. Is there really no pdb files anywhere in the $src/build directory?</p>



<a name="226648832"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226648832" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226648832">(Feb 17 2021 at 12:27)</a>:</h4>
<p>if <code>-g</code> is enabled pdbs get generated automatically and x.py/boostrap actually would need to go out of their way to get them removed.</p>



<a name="226650774"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226650774" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226650774">(Feb 17 2021 at 12:46)</a>:</h4>
<p>There are pdbs in bootstrap directory which I assume are for the stage 0 compiler.</p>



<a name="226650966"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226650966" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226650966">(Feb 17 2021 at 12:49)</a>:</h4>
<p>The stage 1 std lib also has an associated pdb file.</p>



<a name="226651051"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226651051" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226651051">(Feb 17 2021 at 12:50)</a>:</h4>
<p>My only guess would be that <code>debug=true</code> doesn't actually do what you'd expect <span aria-label="shrug" class="emoji emoji-1f937" role="img" title="shrug">:shrug:</span> For profiling you don't want debug assertions anyway, so I'd probably go through the settings and set the more precise options as desired if I were you.</p>



<a name="226651134"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226651134" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226651134">(Feb 17 2021 at 12:50)</a>:</h4>
<p>The "$src\build\x86_64-pc-windows-msvc\stage1" directory does not contain pdbs and is where I would expect them to be</p>



<a name="226651152"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226651152" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226651152">(Feb 17 2021 at 12:50)</a>:</h4>
<p>I'll try turning on debug-info explicitly and see what happens</p>



<a name="226651164"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226651164" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226651164">(Feb 17 2021 at 12:51)</a>:</h4>
<p>Ah, yeah, I believe that directory is populated by copying files around. I wouldn't be surprised if bootstrap failed to copy over the pdbs.</p>



<a name="226651207"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226651207" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226651207">(Feb 17 2021 at 12:51)</a>:</h4>
<p>You should look for them in the directory which was used as the output directory by the original cargo invocation.</p>



<a name="226651406"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226651406" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226651406">(Feb 17 2021 at 12:54)</a>:</h4>
<p>Do you know where that might be?</p>



<a name="226652026"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652026" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652026">(Feb 17 2021 at 13:00)</a>:</h4>
<p>stage0-rustc most likely</p>



<a name="226652055"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652055" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652055">(Feb 17 2021 at 13:00)</a>:</h4>
<p>It's quite possible we don't pick them up.</p>



<a name="226652604"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652604" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652604">(Feb 17 2021 at 13:05)</a>:</h4>
<p><span class="user-mention" data-user-id="116122">@simulacrum</span> there is rustc_main.pdb. What is the relationship between rustc_main.exe and the stage1 rustc?</p>



<a name="226652674"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652674" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652674">(Feb 17 2021 at 13:06)</a>:</h4>
<p>Hm, I'm not sure, but I would guess they are identical?</p>



<a name="226652693"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652693" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652693">(Feb 17 2021 at 13:06)</a>:</h4>
<p>/me looks through bootstrap code</p>



<a name="226652720"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652720" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652720">(Feb 17 2021 at 13:06)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/blob/master/compiler/rustc/Cargo.toml">https://github.com/rust-lang/rust/blob/master/compiler/rustc/Cargo.toml</a></p>



<a name="226652793"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652793" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652793">(Feb 17 2021 at 13:07)</a>:</h4>
<p>Ok cool Then I guess we just need to copy the pdb file over with the compiler</p>



<a name="226652895"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652895" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652895">(Feb 17 2021 at 13:08)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/blob/master/src/bootstrap/compile.rs#L1096">https://github.com/rust-lang/rust/blob/master/src/bootstrap/compile.rs#L1096</a></p>



<a name="226652966"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226652966" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226652966">(Feb 17 2021 at 13:09)</a>:</h4>
<p>Though I suspect we probably need to do so for std/test/core too? I'm a bit surprised there's not one per library</p>



<a name="226653197"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226653197" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226653197">(Feb 17 2021 at 13:11)</a>:</h4>
<p>I wonder if we can hook into things here: <a href="https://github.com/rust-lang/rust/blob/d416093209d0dd77a4cdeb5a2f1b5de1316787ec/src/bootstrap/compile.rs#L136">https://github.com/rust-lang/rust/blob/d416093209d0dd77a4cdeb5a2f1b5de1316787ec/src/bootstrap/compile.rs#L136</a></p>



<a name="226653300"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226653300" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226653300">(Feb 17 2021 at 13:12)</a>:</h4>
<p>That doesn't seem like the right place</p>



<a name="226653319"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226653319" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226653319">(Feb 17 2021 at 13:12)</a>:</h4>
<p>I would look for the places we copy dylibs</p>



<a name="226653550"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226653550" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226653550">(Feb 17 2021 at 13:14)</a>:</h4>
<p>Looks like that's here: <a href="https://github.com/rust-lang/rust/blob/ee88f46bb5e27c4d9f30326e69ff2298dcbeecb1/src/bootstrap/compile.rs#L1052-L1054">https://github.com/rust-lang/rust/blob/ee88f46bb5e27c4d9f30326e69ff2298dcbeecb1/src/bootstrap/compile.rs#L1052-L1054</a></p>



<a name="226654602"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226654602" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226654602">(Feb 17 2021 at 13:23)</a>:</h4>
<p>Yep</p>



<a name="226654727"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226654727" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226654727">(Feb 17 2021 at 13:24)</a>:</h4>
<p>Though I think the right solution is to just simply copy the pdbs right before we copy over rustc_main</p>



<a name="226654800"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226654800" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226654800">(Feb 17 2021 at 13:25)</a>:</h4>
<p>Because the dylibs are not where the pdb is being generated. The pdb gets generated directly next to the final exe</p>



<a name="226655347"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226655347" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226655347">(Feb 17 2021 at 13:30)</a>:</h4>
<p>Surely there's one per dylib (e.g. core / std) too? I don't know anything about pdb so maybe that's not right</p>



<a name="226655645"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226655645" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226655645">(Feb 17 2021 at 13:32)</a>:</h4>
<p>Well there should be 1 per dll and per exe. The issue is that the rustc exe and the dlls for std/core/etc are generated in two places.</p>



<a name="226655657"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226655657" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226655657">(Feb 17 2021 at 13:32)</a>:</h4>
<p>So I don't think it's one change that we can make</p>



<a name="226655694"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226655694" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> bjorn3 <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226655694">(Feb 17 2021 at 13:32)</a>:</h4>
<p>rustc_driver.dll should be created next to rustc_main.exe.</p>



<a name="226655892"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226655892" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226655892">(Feb 17 2021 at 13:34)</a>:</h4>
<p>Yes that is and its pdb file should be copied over with rustc_main.pdb</p>



<a name="226656394"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226656394" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226656394">(Feb 17 2021 at 13:38)</a>:</h4>
<p>Ah so I'm a bit confused. rustc_driver.dll is present in the stage0-sysroot rustlib/lib directory along with std.dll and core.dll. these get copied over to the final bin folder. But there are no pdbs present there</p>



<a name="226656659"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226656659" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226656659">(Feb 17 2021 at 13:40)</a>:</h4>
<p>I'm pretty sure its going to be the same situation in that <code>rustlib/lib</code> is where the <code>dll</code> ends up after its copied once. AFAIK we copy things around multiple times into multiple locations.</p>



<a name="226656713"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226656713" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> nagisa <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226656713">(Feb 17 2021 at 13:41)</a>:</h4>
<p>So adjusting the function that copies things to check for sibling <code>.pdb</code> file and copying that over as well should eventually just work out.</p>



<a name="226656873"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226656873" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226656873">(Feb 17 2021 at 13:42)</a>:</h4>
<p>It seems unfortunately that we don't have a separate function for "copying dylib files to a new location".</p>



<a name="226656884"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226656884" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226656884">(Feb 17 2021 at 13:42)</a>:</h4>
<p>This is all happening inline</p>



<a name="226656914"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226656914" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226656914">(Feb 17 2021 at 13:42)</a>:</h4>
<p>So we'll have to find the mutliple places where the dylibs are being copied</p>



<a name="226657008"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226657008" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226657008">(Feb 17 2021 at 13:43)</a>:</h4>
<p>Yeah, that kind of duplication is unfortunately relatively common. Happy to receive PRs, but IIRC some of them are also subtly different.</p>



<a name="226657047"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226657047" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226657047">(Feb 17 2021 at 13:44)</a>:</h4>
<p>Most or all should have the is_dylib call though.</p>



<a name="226658912"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226658912" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226658912">(Feb 17 2021 at 13:57)</a>:</h4>
<p>K I think I got it working. PR incoming</p>



<a name="226660559"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/182449-t-compiler/help/topic/Debug%20symbols/near/226660559" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> rylev <a href="https://rust-lang.github.io/zulip_archive/stream/182449-t-compiler/help/topic/Debug.20symbols.html#226660559">(Feb 17 2021 at 14:08)</a>:</h4>
<p><a href="https://github.com/rust-lang/rust/pull/82218">https://github.com/rust-lang/rust/pull/82218</a></p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>